package com.work.service.main;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.work.dto.transport.TransportSearchDTO;
import com.work.entity.main.TShipForecast;
import com.work.vo.main.TShipForecastVO;
import com.work.vo.transport.TShipForecastShipStatVO;
import org.springblade.core.mp.base.BaseService;

import java.util.List;

/**
 * 理货船舶预报接口
 *
 * @author ：dujianyu
 * @since ：Created in 2024/3/12 14:27
 */
public interface ITShipForecastService extends BaseService<TShipForecast> {

    /**
     * 添加货运船舶信息
     * @param  transportShipId 货运船舶ID
     * @return  boolean
     * @author dujianyu
     * @since 2024/3/12 15:21
     */
    boolean addShipForecast(Long transportShipId);

    /** 
     * 详情
     * @param transportShipId 船ID
     * @return TShipForecastVO
     * @author dujianyu
     * @since 2024/6/17 9:36
     */ 
    TShipForecastVO selectDetail(String transportShipId);

    /**
     * 船理货分页
     * @param dto 搜索条件
     * @return IPage<TransportShipShipStatVO>
     * @author dujianyu
     * @since 2024/6/25 14:38
     */
    IPage<TShipForecastShipStatVO> selectTransportShipListForShipStatPage(IPage<TShipForecastShipStatVO> page, TransportSearchDTO dto);
}
